package com.be.beadmin.system.controller.ProductMaterialController;

import com.be.beadmin.common.utils.ResultModel;
import com.be.beadmin.system.service.ProductMaterialService.ProductManufactInforPmService;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @author: Jiaming Zheng
 * @Date: Create in 17:41 2023/6/24
 * @Modified By:
 **/
@Controller
public class ProductManufactInforPmController {


    @Autowired
    private ProductManufactInforPmService productManufactInforPmService;

    @ApiOperation("点击工序执行的工序需要获取到的信息")
    @PostMapping(value = "/product/getProductManufactExecInfo")
    public ResultModel getProductManufactExecInfo(@ApiParam(value = "工序执行的id") @RequestParam String productManufactInforId)  {
        return ResultModel.success(productManufactInforPmService.getProductManufactExecInfo(productManufactInforId)) ;
    }


}
